#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>

int main()
{
    int tep = 0;
    int num = 0;
    int sum = 0;
    scanf("%d", &num);

    tep = num;
    int count = 0;
    while (tep)
    {
        count++;
        tep /= 10;
    }

    for (int i = 0; i < count; i++)
    {
        int test = num % 10 % 2;
        if (test != 0)
        {
            sum += pow(10, i);
        }
        num /= 10;
    }

    printf("%d", sum);
    return 0;
}